var e = document.querySelector("#e");
var x = document.querySelector("#x");

//移入分类按钮
e.addEventListener("mouseover",function(){
    //移入的时候，执行显示分类详情
    x.style.display ="block";
});
e.addEventListener("mouseleave",function(){
    x.style.display ="none";
});
//移入详情
x.addEventListener("mouseover",function(){
    x.style.display ="block";
});
//移出详情
x.addEventListener("mouseleave",function(){
    x.style.display="none";
});
